package main

import "fmt"

type MyInterface interface {
	test(name string) string
}

type Test1 struct {
}

func (t *Test1) test(name string) string {
	fmt.Println(name)
	return name
}
func main() {
	var t Test1
	var m MyInterface = &t
	m.test("ttt")
}
